package com.future.service;

import java.util.List;
import com.future.domain.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import com.future.dto.AroomNameDto;
import com.future.dto.RoomDto;
import com.future.dto.RoomForSex;
import com.future.dto.RoomForStudentsDto;

/**
 * @Auther: 田坑坑
 * @Date: 2022/6/20 14:01
 * @Description:  我题序等你回
 */
public interface RoomService extends IService<Room>{


    List<RoomForSex>   findRoomForSex(String  roomSex);

    List<RoomForStudentsDto>  findStudent(int roomId);


    List<RoomDto>  findRoomS(String roomSex);


    int updateBatch(List<Room> list);

    int updateBatchSelective(List<Room> list);

    int batchInsert(List<Room> list);

         //根据楼栋名称查询该楼栋下所有的宿舍
        List<AroomNameDto> findRoom(String storeyname);

}
